package com.fs.groupSeven.service;

import com.fs.groupSeven.pojo.Classroom;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ClassroomService {
    List<Classroom> getClassroomList();
    Classroom getOneByClassroomId(Integer classroomId);
    boolean updateByClassroom(Classroom classroom);
    boolean addOneRoom(Classroom classroom);

    PageInfo<Classroom> getClassroomsByPage(Integer currentPage, Integer pageSize);

    List<Classroom> getClassroomMessageLike(String roomMessage);
}
